package com.ossjk.qlh.minapp.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.ossjk.qlh.minapp.entity.Orders;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;

@ApiModel(value = "订单汇总")
public class OrderSumVo extends Orders {

    /**
     * 套餐名称
     */
    @ApiModelProperty(value = "套餐名称")
    @TableField("title")
    private String title;

    /**
     * 套餐数量
     */
    @ApiModelProperty(value = "套餐数量")
    @TableField("amount")
    private Integer amount;

    /**
     * 各个套餐合计金额
     */
    @ApiModelProperty(value = "各个套餐合计金额")
    @TableField("costmeal")
    private BigDecimal costmeal;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public BigDecimal getCostmeal() {
        return costmeal;
    }

    public void setCostmeal(BigDecimal costmeal) {
        this.costmeal = costmeal;
    }
}
